//
//  WDRescueFinishInspectRequest.m
//  wd-serviceapp
//
//  Created by Bin Tang on 2025/2/11.
//

#import "WDRescueFinishInspectRequest.h"

@interface WDRescueFinishInspectRequest ()
@property (nonatomic, strong) WDRescueFinishInspectReqModel *reqModel;
@end

@implementation WDRescueFinishInspectRequest

- (instancetype)initWithModel:(WDRescueFinishInspectReqModel *)model {
    if (self = [super init]) {
        _reqModel = model;
    }
    return self;
}

- (NSString *)requestUrl {
    return kTASK_APPLY_RESCUE_FINISH_INSPECT;
}

- (TYZRequestSerializerType)requestSerializerType {
    return TYZRequestSerializerTypeJSON;
}

- (TYZRequestMethod)requestMethod {
    return TYZRequestMethodPOST;
}

- (id)requestArgument {
    NSDictionary *params = [self.reqModel yy_modelToJSONObject];
    return params;
}

- (Class)rspClass {
    return [WDBaseRspModel class];
}

//- (Class)recordsRspClass {
//    return [WDArrivalServiceItemModel class];
//}

@end
